!function (t) {
    var e = {};

    function r(n) {
        if (e[n]) return e[n].exports;
        var i = e[n] = {i: n, l: !1, exports: {}};
        return t[n].call(i.exports, i, i.exports, r), i.l = !0, i.exports
    }

    r.m = t, r.c = e, r.d = function (t, e, n) {
        r.o(t, e) || Object.defineProperty(t, e, {enumerable: !0, get: n})
    }, r.r = function (t) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
    }, r.t = function (t, e) {
        if (1 & e && (t = r(t)), 8 & e) return t;
        if (4 & e && "object" == typeof t && t && t.__esModule) return t;
        var n = Object.create(null);
        if (r.r(n), Object.defineProperty(n, "default", {
            enumerable: !0,
            value: t
        }), 2 & e && "string" != typeof t) for (var i in t) r.d(n, i, function (e) {
            return t[e]
        }.bind(null, i));
        return n
    }, r.n = function (t) {
        var e = t && t.__esModule ? function () {
            return t.default
        } : function () {
            return t
        };
        return r.d(e, "a", e), e
    }, r.o = function (t, e) {
        return Object.prototype.hasOwnProperty.call(t, e)
    }, r.p = "", r(r.s = 567)
}({
    0: function (t, e, r) {
        "use strict";
        r.d(e, "l", function () {
            return o
        }), r.d(e, "e", function () {
            return d
        }), r.d(e, "j", function () {
            return l
        }), r.d(e, "a", function () {
            return c
        }), r.d(e, "m", function () {
            return p
        }), r.d(e, "d", function () {
            return m
        }), r.d(e, "f", function () {
            return b
        }), r.d(e, "g", function () {
            return g
        }), r.d(e, "h", function () {
            return _
        }), r.d(e, "k", function () {
            return w
        }), r.d(e, "i", function () {
            return y
        }), r.d(e, "c", function () {
            return k
        }), r.d(e, "b", function () {
            return x
        }), r.d(e, "n", function () {
            return P
        });
        var n = r(35), i = r.n(n), a = r(1);

        function o() {
            const t = window._server + "/static/ureport-asserts/icons/loading.gif", e = $(window).height() / 2,
                r = $(window).width() / 2,
                n = $(`<div class="ureport-loading-cover" style="position: absolute;left: 0px;top: 0px;width:${2 * r}px;height:${2 * e}px;z-index: 1199;background:rgba(222,222,222,.5)"></div>`);
            $(document.body).append(n);
            const i = $(`<div class="ureport-loading" style="text-align: center;position: absolute;z-index: 1120;left: ${r - 35}px;top: ${e - 35}px;"><img src="${t}">\n    <div style="margin-top: 5px">打印数据加载中...</div></div>`);
            $(document.body).append(i)
        }

        function d() {
            $(".ureport-loading-cover").remove(), $(".ureport-loading").remove()
        }

        function l(t) {
            const e = t.countCols(), r = t.countRows(), n = t.context, i = [];
            for (let a = 0; a < r; a++) {
                let r = [];
                for (let i = 0; i < e; i++) {
                    if (!t.getCell(a, i)) {
                        r.push("");
                        continue
                    }
                    let e = n.getCell(a, i);
                    if (e) {
                        let t = e.value.type, n = e.value;
                        if ("dataset" === t) {
                            let t = n.datasetName + "." + n.aggregate + "(", e = n.property;
                            e.length > 13 ? t += e.substring(0, 10) + "..)" : t += e + ")", r.push(t)
                        } else if ("expression" === t) {
                            let t = n.value || "";
                            t.length > 16 && (t = t.substring(0, 13) + "..."), r.push(t)
                        } else r.push(n.value || "")
                    } else r.push("")
                }
                i.push(r)
            }
            t.loadData(i)
        }

        function c(t, e) {
            return {
                rowNumber: t,
                columnNumber: e,
                expand: "None",
                cellStyle: {fontSize: 9, forecolor: "0,0,0", fontFamily: "宋体", align: "center", valign: "middle"},
                value: {type: "simple", value: ""}
            }
        }

        function p(t) {
            const e = t.hot, r = e.countRows(), n = e.countCols();
            let i = '<?xml version="1.0" encoding="UTF-8"?><ureport>', o = "", d = "";
            const l = t.rowHeaders;
            for (let t = 0; t < r; t++) {
                let r = e.getRowHeight(t) || 16;
                r = v(r);
                let n = null;
                for (let e of l) if (e.rowNumber === t) {
                    n = e.band;
                    break
                }
                o += n ? `<row row-number="${t + 1}" height="${r}" band="${n}"/>` : `<row row-number="${t + 1}" height="${r}"/>`
            }
            for (let t = 0; t < n; t++) {
                let r = e.getColWidth(t) || 30;
                d += `<column col-number="${t + 1}" width="${r = v(r)}"/>`
            }
            let c = "", p = [];
            for (let i = 0; i < r; i++) for (let r = 0; r < n; r++) {
                if (p.indexOf(i + "," + r) > -1) continue;
                let n = t.getCell(i, r);
                if (!n) continue;
                let o = t.getCellName(i, r);
                c += `<cell expand="${n.expand}" name="${o}" row="${i + 1}" col="${r + 1}"`, n.leftParentCellName && "" !== n.leftParentCellName && (c += ` left-cell="${n.leftParentCellName}"`), n.topParentCellName && "" !== n.topParentCellName && (c += ` top-cell="${n.topParentCellName}"`), n.fillBlankRows && (c += ` fill-blank-rows="${n.fillBlankRows}"`, n.multiple && (c += ` multiple="${n.multiple}"`));
                const d = s(e, i, r);
                let l = d.rowspan, m = d.colspan, b = i + l - 1, g = r, _ = r + m - 1;
                for (let t = i; t <= b; t++) for (let e = g; e <= _; e++) p.push(t + "," + e);
                if (l > 1 && (c += ` row-span="${l}"`), m > 1 && (c += ` col-span="${m}"`), n.linkUrl && "" !== n.linkUrl && (c += ` link-url="${n.linkUrl}"`), n.linkTargetWindow && "" !== n.linkTargetWindow && (c += ` link-target-window="${n.linkTargetWindow}"`), c += ">", c += u(n.cellStyle), n.linkParameters && n.linkParameters.length > 0) for (let t of n.linkParameters) c += `<link-parameter name="${t.name}">`, c += `<value><![CDATA[${t.value}]]></value>`, c += "</link-parameter>";
                const v = n.value;
                if ("dataset" === v.type) {
                    let t = null;
                    if (v.datasetName || (t = `${o}单元格数据集属性不能为空！`), t || v.property || (t = `${o}单元格属性不能为空！`), t || v.aggregate || (t = `${o}单元格聚合方式属性不能为空！`), t) throw Object(a.a)(t), t;
                    const e = v.mappingType || "simple";
                    if (c += `<dataset-value dataset-name="${h(v.datasetName)}" aggregate="${v.aggregate}" property="${v.property}" order="${v.order}" mapping-type="${e}"`, "dataset" === e && (c += ` mapping-dataset="${v.mappingDataset}" mapping-key-property="${v.mappingKeyProperty}" mapping-value-property="${v.mappingValueProperty}"`), c += ">", c += f(v.conditions), "customgroup" === v.aggregate) {
                        const t = v.groupItems;
                        for (let e of t) {
                            c += `<group-item name="${e.name}">`;
                            for (let t of e.conditions) c += `<condition property="${t.left}" op="${h(t.operation || t.op)}" id="${t.id}"`, t.join ? c += ` join="${t.join}">` : c += ">", c += `<value><![CDATA[${t.right}]]></value>`, c += "</condition>";
                            c += "</group-item>"
                        }
                    }
                    if ("simple" === e) {
                        const t = v.mappingItems;
                        if (t && t.length > 0) for (let e of t) c += `<mapping-item value="${h(e.value)}" label="${h(e.label)}"/>`
                    }
                    c += "</dataset-value>"
                } else if ("expression" === v.type) {
                    if (!v.value || "" === v.value) {
                        const t = `${o}单元格表达式不能为空`;
                        throw Object(a.a)(t), t
                    }
                    c += "<expression-value>", c += `<![CDATA[${v.value}]]>`, c += "</expression-value>"
                } else if ("simple" === v.type) c += "<simple-value>", c += `<![CDATA[${v.value || ""}]]>`, c += "</simple-value>"; else if ("image" === v.type) c += `<image-value source="${v.source}"`, v.width && (c += ` width="${v.width}"`), v.height && (c += ` height="${v.height}"`), c += ">", c += "<text>", c += `<![CDATA[${v.value}]]>`, c += "</text>", c += "</image-value>"; else if ("zxing" === v.type) c += `<zxing-value source="${v.source}" category="${v.category}" width="${v.width}" height="${v.height}"`, v.format && (c += ` format="${v.format}"`), c += ">", c += "<text>", c += `<![CDATA[${v.value}]]>`, c += "</text>", c += "</zxing-value>"; else if ("slash" === v.type) {
                    c += "<slash-value>";
                    const t = v.slashes;
                    for (let e of t) c += `<slash text="${e.text}" x="${e.x}" y="${e.y}" degree="${e.degree}"/>`;
                    c += "<base64-data>", c += `<![CDATA[${v.base64Data}]]>`, c += "</base64-data>", c += "</slash-value>"
                } else if ("chart" === v.type) {
                    c += "<chart-value>";
                    const t = v.chart, e = t.dataset;
                    c += `<dataset dataset-name="${e.datasetName}" type="${e.type}"`, e.categoryProperty && (c += ` category-property="${e.categoryProperty}"`), e.seriesProperty && (c += ` series-property="${e.seriesProperty}"`), e.seriesType && (c += ` series-type="${e.seriesType}"`), e.seriesText && (c += ` series-text="${e.seriesText}"`), e.valueProperty && (c += ` value-property="${e.valueProperty}"`), e.rProperty && (c += ` r-property="${e.rProperty}"`), e.xProperty && (c += ` x-property="${e.xProperty}"`), e.yProperty && (c += ` y-property="${e.yProperty}"`), e.collectType && (c += ` collect-type="${e.collectType}"`), c += "/>";
                    const r = t.xaxes;
                    if (r) {
                        c += "<xaxes", r.rotation && (c += ` rotation="${r.rotation}"`), c += ">";
                        const t = r.scaleLabel;
                        t && (c += `<scale-label display="${t.display}"`, t.labelString && (c += ` label-string="${t.labelString}"`), c += "/>"), c += "</xaxes>"
                    }
                    const n = t.yaxes;
                    if (n) {
                        c += "<yaxes", n.rotation && (c += ` rotation="${n.rotation}"`), c += ">";
                        const t = n.scaleLabel;
                        t && (c += `<scale-label display="${t.display}"`, t.labelString && (c += ` label-string="${t.labelString}"`), c += "/>"), c += "</yaxes>"
                    }
                    const i = t.options;
                    if (i) for (let t of i) c += `<option type="${t.type}"`, t.position && (c += ` position="${t.position}"`), void 0 !== t.display && null !== t.display && (c += ` display="${t.display}"`), t.duration && (c += ` duration="${t.duration}"`), t.easing && (c += ` easing="${t.easing}"`), t.text && (c += ` text="${t.text}"`), c += "/>";
                    const a = t.plugins || [];
                    for (let t of a) c += `<plugin name="${t.name}" display="${t.display}"/>`;
                    c += "</chart-value>"
                }
                const w = n.conditionPropertyItems || [];
                for (let t of w) {
                    c += `<condition-property-item name="${t.name}"`;
                    const e = t.rowHeight;
                    null != e && -1 !== e && (c += ` row-height="${e}"`);
                    const r = t.colWidth;
                    if (null != r && -1 !== r && (c += ` col-width="${r}"`), t.newValue && "" !== t.newValue && (c += ` new-value="${t.newValue}"`), t.linkUrl && "" !== t.linkUrl) {
                        c += ` link-url="${t.linkUrl}"`;
                        let e = t.linkTargetWindow;
                        e && "" !== e || (e = "_self"), c += ` link-target-window="${t.linkTargetWindow}"`
                    }
                    c += ">";
                    const n = t.paging;
                    if (n && (c += `<paging position="${n.position}" line="${n.line}"/>`), t.linkParameters && t.linkParameters.length > 0) for (let e of t.linkParameters) c += `<link-parameter name="${e.name}">`, c += `<value><![CDATA[${e.value}]]></value>`, c += "</link-parameter>";
                    const i = t.cellStyle;
                    i && (c += u(i, !0)), c += f(t.conditions), c += "</condition-property-item>"
                }
                c += "</cell>"
            }
            i += c, i += o, i += d;
            const m = t.reportDef.header;
            m && (m.left || m.center || m.right) && (i += "<header ", m.fontFamily && (i += ` font-family="${m.fontFamily}"`), m.fontSize && (i += ` font-size="${m.fontSize}"`), m.forecolor && (i += ` forecolor="${m.forecolor}"`), m.bold && (i += ` bold="${m.bold}"`), m.italic && (i += ` italic="${m.italic}"`), m.underline && (i += ` underline="${m.underline}"`), m.margin && (i += ` margin="${m.margin}"`), i += ">", m.left && (i += `<left><![CDATA[${m.left}]]></left>`), m.center && (i += `<center><![CDATA[${m.center}]]></center>`), m.right && (i += `<right><![CDATA[${m.right}]]></right>`), i += "</header>");
            const b = t.reportDef.footer;
            b && (b.left || b.center || b.right) && (i += "<footer ", b.fontFamily && (i += ` font-family="${b.fontFamily}"`), b.fontSize && (i += ` font-size="${b.fontSize}"`), b.forecolor && (i += ` forecolor="${b.forecolor}"`), b.bold && (i += ` bold="${b.bold}"`), b.italic && (i += ` italic="${b.italic}"`), b.underline && (i += ` underline="${b.underline}"`), b.margin && (i += ` margin="${b.margin}"`), i += ">", b.left && (i += `<left><![CDATA[${b.left}]]></left>`), b.center && (i += `<center><![CDATA[${b.center}]]></center>`), b.right && (i += `<right><![CDATA[${b.right}]]></right>`), i += "</footer>");
            let g = "";
            const _ = t.reportDef.datasources;
            for (let t of _) {
                let e = `<datasource name="${h(t.name)}" type="${t.type}"`, r = t.type;
                if ("jdbc" === r) {
                    e += ` username="${h(t.username)}"`, e += ` password="${h(t.password)}"`, e += ` url="${h(t.url)}"`, e += ` driver="${t.driver}"`, e += ">";
                    for (let r of t.datasets) {
                        e += `<dataset name="${h(r.name)}" type="sql">`, e += `<sql><![CDATA[${r.sql}]]></sql>`;
                        for (let t of r.fields) e += `<field name="${t.name}"/>`;
                        for (let t of r.parameters) e += `<parameter name="${h(t.name)}" type="${t.type}" default-value="${h(t.defaultValue)}"/>`;
                        e += "</dataset>"
                    }
                } else if ("spring" === r) {
                    e += ` bean="${t.beanId}">`;
                    for (let r of t.datasets) {
                        e += `<dataset name="${h(r.name)}" type="bean" method="${r.method}" clazz="${r.clazz}">`;
                        for (let t of r.fields) e += `<field name="${t.name}"/>`;
                        e += "</dataset>"
                    }
                } else if ("buildin" === r) {
                    e += ">";
                    for (let r of t.datasets) {
                        e += `<dataset name="${h(r.name)}" type="sql">`, e += `<sql><![CDATA[${r.sql}]]></sql>`;
                        for (let t of r.fields) e += `<field name="${t.name}"/>`;
                        for (let t of r.parameters) e += `<parameter name="${t.name}" type="${t.type}" default-value="${t.defaultValue}"/>`;
                        e += "</dataset>"
                    }
                }
                g += e += "</datasource>"
            }
            i += g;
            const w = t.reportDef.paper;
            let y = 0;
            return null !== w.htmlIntervalRefreshValue && void 0 !== w.htmlIntervalRefreshValue && (y = w.htmlIntervalRefreshValue), i += `<paper type="${w.paperType}" left-margin="${w.leftMargin}" right-margin="${w.rightMargin}"\n    top-margin="${w.topMargin}" bottom-margin="${w.bottomMargin}" paging-mode="${w.pagingMode}" fixrows="${w.fixRows}"\n    width="${w.width}" height="${w.height}" orientation="${w.orientation}" html-report-align="${w.htmlReportAlign}" bg-image="${w.bgImage || ""}" html-interval-refresh-value="${y}" column-enabled="${w.columnEnabled}"`, w.columnEnabled && (i += ` column-count="${w.columnCount}" column-margin="${w.columnMargin}"`), i += "></paper>", t.reportDef.searchFormXml && (i += t.reportDef.searchFormXml), i += "</ureport>", i = encodeURIComponent(i)
        }

        function s(t, e, r) {
            const n = t.getSettings().mergeCells || [];
            for (let t of n) if (t.row === e && t.col === r) return t;
            return {rowspan: 0, colspan: 0}
        }

        function f(t) {
            let e = "";
            if (t) {
                const r = t.length;
                for (let n of t) n.type && "property" !== n.type ? (e += `<condition type="${n.type}" op="${h(n.operation)}" id="${n.id}"`, n.join && r > 1 ? e += ` join="${n.join}">` : e += ">", e += `<left><![CDATA[${n.left}]]></left>`, e += `<right><![CDATA[${n.right}]]></right>`) : (n.left ? e += `<condition property="${n.left}" op="${h(n.operation)}" id="${n.id}"` : e += `<condition op="${h(n.operation)}" id="${n.id}"`, e += ` type="${n.type}"`, n.join && r > 1 ? e += ` join="${n.join}">` : e += ">", e += `<value><![CDATA[${n.right}]]></value>`), e += "</condition>"
            }
            return e
        }

        function u(t, e) {
            let r = "<cell-style";
            e && (r += ' for-condition="true"'), t.fontSize && "" !== t.fontSize && (r += ` font-size="${t.fontSize}"`), t.fontSizeScope && (r += ` font-size-scope="${t.fontSizeScope}"`), t.forecolor && "" !== t.forecolor && (r += ` forecolor="${t.forecolor}"`), t.forecolorScope && (r += ` forecolor-scope="${t.forecolorScope}"`), t.fontFamily && ("0" === t.fontFamily ? r += ' font-family=""' : r += ` font-family="${t.fontFamily}"`), t.fontFamilyScope && (r += ` font-family-scope="${t.fontFamilyScope}"`), t.bgcolor && "" !== t.bgcolor && (r += ` bgcolor="${t.bgcolor}"`), t.bgcolorScope && (r += ` bgcolor-scope="${t.bgcolorScope}"`), t.format && "" !== t.format && (r += ` format="${t.format}"`), void 0 !== t.bold && null !== t.bold && (r += ` bold="${t.bold}"`), t.boldScope && (r += ` bold-scope="${t.boldScope}"`), void 0 !== t.italic && null !== t.italic && (r += ` italic="${t.italic}"`), t.italicScope && (r += ` italic-scope="${t.italicScope}"`), void 0 !== t.underline && null !== t.underline && (r += ` underline="${t.underline}"`), t.underlineScope && (r += ` underline-scope="${t.underlineScope}"`), void 0 !== t.wrapCompute && null !== t.wrapCompute && (r += ` wrap-compute="${t.wrapCompute}"`), t.align && "" !== t.align && (r += ` align="${t.align}"`), t.alignScope && (r += ` align-scope="${t.alignScope}"`), t.valign && "" !== t.valign && (r += ` valign="${t.valign}"`), t.valignScope && (r += ` valign-scope="${t.valignScope}"`), t.lineHeight && (r += ` line-height="${t.lineHeight}"`), r += ">";
            let n = t.leftBorder;
            n && "none" !== n.style && (r += `<left-border width="${n.width}" style="${n.style}" color="${n.color}"/>`);
            let i = t.rightBorder;
            i && "none" !== i.style && (r += `<right-border width="${i.width}" style="${i.style}" color="${i.color}"/>`);
            let a = t.topBorder;
            a && "none" !== a.style && (r += `<top-border width="${a.width}" style="${a.style}" color="${a.color}"/>`);
            let o = t.bottomBorder;
            return o && "none" !== o.style && (r += `<bottom-border width="${o.width}" style="${o.style}" color="${o.color}"/>`), r += "</cell-style>"
        }

        function h(t) {
            return t.replace(/[<>&"]/g, function (t) {
                return {"<": "&lt;", ">": "&gt;", "&": "&amp;", '"': "&quot;"}[t]
            })
        }

        function m(t) {
            var e = new RegExp("(^|&)" + t + "=([^&]*)(&|$)"), r = window.location.search.substr(1).match(e);
            return null != r ? r[2] : null
        }

        function b(t) {
            let e = 2.834646 * t;
            return Math.round(e)
        }

        function g(t) {
            let e = .352778 * t;
            return Math.round(e)
        }

        function _(t) {
            const e = 1.33 * t;
            return Math.round(e)
        }

        function v(t) {
            const e = .75 * t;
            return Math.round(e)
        }

        function w() {
            $("#__save_btn").removeClass("disabled")
        }

        function y() {
            $("#__save_btn").addClass("disabled")
        }

        function k(t, e) {
            if ("number" == typeof t && (t = new Date(t)), "string" == typeof t) return t;
            var r = {
                "M+": t.getMonth() + 1,
                "d+": t.getDate(),
                "H+": t.getHours(),
                "m+": t.getMinutes(),
                "s+": t.getSeconds()
            };
            for (var n in /(y+)/.test(e) && (e = e.replace(RegExp.$1, (t.getFullYear() + "").substr(4 - RegExp.$1.length))), r) new RegExp("(" + n + ")").test(e) && (e = e.replace(RegExp.$1, 1 == RegExp.$1.length ? r[n] : ("00" + r[n]).substr(("" + r[n]).length)));
            return e
        }

        function x() {
            return {
                A0: {width: 841, height: 1189},
                A1: {width: 594, height: 841},
                A2: {width: 420, height: 594},
                A3: {width: 297, height: 420},
                A4: {width: 210, height: 297},
                A5: {width: 148, height: 210},
                A6: {width: 105, height: 148},
                A7: {width: 74, height: 105},
                A8: {width: 52, height: 74},
                A9: {width: 37, height: 52},
                A10: {width: 26, height: 37},
                B0: {width: 1e3, height: 1414},
                B1: {width: 707, height: 1e3},
                B2: {width: 500, height: 707},
                B3: {width: 353, height: 500},
                B4: {width: 250, height: 353},
                B5: {width: 176, height: 250},
                B6: {width: 125, height: 176},
                B7: {width: 88, height: 125},
                B8: {width: 62, height: 88},
                B9: {width: 44, height: 62},
                B10: {width: 31, height: 44}
            }
        }

        const P = new i.a
    }, 1: function (t, e, r) {
        "use strict";

        function n(t) {
            o("消息提示", t).modal("show")
        }

        function i(t, e) {
            o("确认提示", t, [{
                name: "确认", click: function () {
                    e.call(this)
                }
            }]).modal("show")
        }

        function a(t, e, r) {
            o(t, e, [{
                name: "确认", click: function () {
                    r.call(this)
                }
            }]).modal("show")
        }

        function o(t, e, r, n) {
            const i = "modal-dialog" + (n ? " modal-lg" : "");
            let a = $('<div class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"></div>'),
                o = $(`<div class="${i}"></div>`);
            a.append(o);
            let d = $(`<div class="modal-content">\n         <div class="modal-header">\n            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n               &times;\n            </button>\n            <h4 class="modal-title">\n               ${t}\n            </h4>\n         </div>\n         <div class="modal-body">\n            ${"string" == typeof e ? e : ""}\n         </div>`);
            "object" == typeof e && d.find(".modal-body").append(e), o.append(d);
            let l = $('<div class="modal-footer"></div>');
            if (d.append(l), r) r.forEach((t, e) => {
                let r = $(`<button type="button" class="btn btn-default">${t.name}</button>`);
                r.click(function (e) {
                    t.click.call(this), t.holdDialog || a.modal("hide")
                }.bind(this)), l.append(r)
            }); else {
                let t = $('<button type="button" class="btn btn-default" data-dismiss="modal">确定</button>');
                l.append(t)
            }
            return a.on("show.bs.modal", function () {
                var t = 1050;
                $(document).find(".modal").each(function (e, r) {
                    var n = $(r).css("z-index");
                    n && "" !== n && !isNaN(n) && (n = parseInt(n)) > t && (t = n)
                }), t++, a.css({"z-index": t})
            }), a
        }

        r.d(e, "a", function () {
            return n
        }), r.d(e, "b", function () {
            return i
        }), r.d(e, "c", function () {
            return a
        })
    }, 12: function (t, e) {
        t.exports = function (t) {
            var e = [];
            return e.toString = function () {
                return this.map(function (e) {
                    var r = function (t, e) {
                        var r = t[1] || "", n = t[3];
                        if (!n) return r;
                        if (e && "function" == typeof btoa) {
                            var i = (o = n, "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(o)))) + " */"),
                                a = n.sources.map(function (t) {
                                    return "/*# sourceURL=" + n.sourceRoot + t + " */"
                                });
                            return [r].concat(a).concat([i]).join("\n")
                        }
                        var o;
                        return [r].join("\n")
                    }(e, t);
                    return e[2] ? "@media " + e[2] + "{" + r + "}" : r
                }).join("")
            }, e.i = function (t, r) {
                "string" == typeof t && (t = [[null, t, ""]]);
                for (var n = {}, i = 0; i < this.length; i++) {
                    var a = this[i][0];
                    "number" == typeof a && (n[a] = !0)
                }
                for (i = 0; i < t.length; i++) {
                    var o = t[i];
                    "number" == typeof o[0] && n[o[0]] || (r && !o[2] ? o[2] = r : r && (o[2] = "(" + o[2] + ") and (" + r + ")"), e.push(o))
                }
            }, e
        }
    }, 13: function (t, e) {
        var r = {}, n = function (t) {
            var e;
            return function () {
                return void 0 === e && (e = t.apply(this, arguments)), e
            }
        }, i = n(function () {
            return /msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())
        }), a = n(function () {
            return document.head || document.getElementsByTagName("head")[0]
        }), o = null, d = 0, l = [];

        function c(t, e) {
            for (var n = 0; n < t.length; n++) {
                var i = t[n], a = r[i.id];
                if (a) {
                    a.refs++;
                    for (var o = 0; o < a.parts.length; o++) a.parts[o](i.parts[o]);
                    for (; o < i.parts.length; o++) a.parts.push(h(i.parts[o], e))
                } else {
                    var d = [];
                    for (o = 0; o < i.parts.length; o++) d.push(h(i.parts[o], e));
                    r[i.id] = {id: i.id, refs: 1, parts: d}
                }
            }
        }

        function p(t) {
            for (var e = [], r = {}, n = 0; n < t.length; n++) {
                var i = t[n], a = i[0], o = {css: i[1], media: i[2], sourceMap: i[3]};
                r[a] ? r[a].parts.push(o) : e.push(r[a] = {id: a, parts: [o]})
            }
            return e
        }

        function s(t, e) {
            var r = a(), n = l[l.length - 1];
            if ("top" === t.insertAt) n ? n.nextSibling ? r.insertBefore(e, n.nextSibling) : r.appendChild(e) : r.insertBefore(e, r.firstChild), l.push(e); else {
                if ("bottom" !== t.insertAt) throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
                r.appendChild(e)
            }
        }

        function f(t) {
            t.parentNode.removeChild(t);
            var e = l.indexOf(t);
            e >= 0 && l.splice(e, 1)
        }

        function u(t) {
            var e = document.createElement("style");
            return e.type = "text/css", s(t, e), e
        }

        function h(t, e) {
            var r, n, i;
            if (e.singleton) {
                var a = d++;
                r = o || (o = u(e)), n = g.bind(null, r, a, !1), i = g.bind(null, r, a, !0)
            } else t.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (r = function (t) {
                var e = document.createElement("link");
                return e.rel = "stylesheet", s(t, e), e
            }(e), n = v.bind(null, r), i = function () {
                f(r), r.href && URL.revokeObjectURL(r.href)
            }) : (r = u(e), n = _.bind(null, r), i = function () {
                f(r)
            });
            return n(t), function (e) {
                if (e) {
                    if (e.css === t.css && e.media === t.media && e.sourceMap === t.sourceMap) return;
                    n(t = e)
                } else i()
            }
        }

        t.exports = function (t, e) {
            if ("undefined" != typeof DEBUG && DEBUG && "object" != typeof document) throw new Error("The style-loader cannot be used in a non-browser environment");
            void 0 === (e = e || {}).singleton && (e.singleton = i()), void 0 === e.insertAt && (e.insertAt = "bottom");
            var n = p(t);
            return c(n, e), function (t) {
                for (var i = [], a = 0; a < n.length; a++) {
                    var o = n[a];
                    (d = r[o.id]).refs--, i.push(d)
                }
                t && c(p(t), e);
                for (a = 0; a < i.length; a++) {
                    var d;
                    if (0 === (d = i[a]).refs) {
                        for (var l = 0; l < d.parts.length; l++) d.parts[l]();
                        delete r[d.id]
                    }
                }
            }
        };
        var m, b = (m = [], function (t, e) {
            return m[t] = e, m.filter(Boolean).join("\n")
        });

        function g(t, e, r, n) {
            var i = r ? "" : n.css;
            if (t.styleSheet) t.styleSheet.cssText = b(e, i); else {
                var a = document.createTextNode(i), o = t.childNodes;
                o[e] && t.removeChild(o[e]), o.length ? t.insertBefore(a, o[e]) : t.appendChild(a)
            }
        }

        function _(t, e) {
            var r = e.css, n = e.media;
            if (n && t.setAttribute("media", n), t.styleSheet) t.styleSheet.cssText = r; else {
                for (; t.firstChild;) t.removeChild(t.firstChild);
                t.appendChild(document.createTextNode(r))
            }
        }

        function v(t, e) {
            var r = e.css, n = e.sourceMap;
            n && (r += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(n)))) + " */");
            var i = new Blob([r], {type: "text/css"}), a = t.href;
            t.href = URL.createObjectURL(i), a && URL.revokeObjectURL(a)
        }
    }, 333: function (t, e, r) {
        "use strict";
        r.d(e, "a", function () {
            return a
        });
        var n = r(0), i = r(1);

        class a {
            constructor() {
                $(window).width(), $(window).height();
                this.paperSizeList = Object(n.b)(), this.dialog = $(`<div class="modal fade" role="dialog" aria-hidden="true" style="z-index: 1110">\n            <div class="modal-dialog modal-lg" style="width: 1250px;">\n                <div class="modal-content">\n                    <div class="modal-header">\n                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">\n                            &times;\n                        </button>\n                        <h4 class="modal-title">\n                            ${window.i18n.pdfPrint.title}\n                        </h4>\n                    </div>\n                    <div class="modal-body" style="padding-top:5px"></div>\n                    <div class="modal-footer">\n                    </div>\n                </div>\n            </div>\n        </div>`), this.body = this.dialog.find(".modal-body");
                this.dialog.find(".modal-footer");
                this.initBody()
            }

            initBody() {
                const t = $(`<fieldset style="width: 100%;height: 60px;font-size: 12px;border: solid 1px #ddd;border-radius: 5px;padding: 1px 8px;">\n        <legend style="font-size: 12px;width: 60px;border-bottom: none;margin-bottom: 0;">${window.i18n.pdfPrint.setup}</legend>\n        </fieldset>`);
                this.body.append(t);
                const e = $(`<div class="form-group" style="display: inline-block"><label>${window.i18n.pdfPrint.paper}</label></div>`);
                t.append(e), this.pageSelect = $(`<select class="form-control" style="display: inline-block;width: 68px;font-size: 12px;padding: 1px;height: 28px;">\n            <option>A0</option>\n            <option>A1</option>\n            <option>A2</option>\n            <option>A3</option>\n            <option>A4</option>\n            <option>A5</option>\n            <option>A6</option>\n            <option>A7</option>\n            <option>A8</option>\n            <option>A9</option>\n            <option>A10</option>\n            <option>B0</option>\n            <option>B1</option>\n            <option>B2</option>\n            <option>B3</option>\n            <option>B4</option>\n            <option>B5</option>\n            <option>B6</option>\n            <option>B7</option>\n            <option>B8</option>\n            <option>B9</option>\n            <option>B10</option>\n            <option value="CUSTOM">${window.i18n.pdfPrint.custom}</option>\n        </select>`), e.append(this.pageSelect);
                const r = this;
                this.pageSelect.change(function () {
                    let t = $(this).val();
                    if ("CUSTOM" === t) r.pageWidthEditor.prop("readonly", !1), r.pageHeightEditor.prop("readonly", !1); else {
                        r.pageWidthEditor.prop("readonly", !0), r.pageHeightEditor.prop("readonly", !0);
                        let e = r.paperSizeList[t];
                        r.pageWidthEditor.val(e.width), r.pageHeightEditor.val(e.height), r.paper.width = Object(n.f)(e.width), r.paper.height = Object(n.f)(e.height)
                    }
                    r.paper.paperType = t
                });
                const a = $(`<div class="form-group" style="display: inline-block;margin-left: 6px"><span>${window.i18n.pdfPrint.width}</span></div>`);
                t.append(a), this.pageWidthEditor = $('<input type="number" class="form-control" readonly style="display: inline-block;width: 40px;font-size: 12px;padding: 1px;height: 28px">'), a.append(this.pageWidthEditor), this.pageWidthEditor.change(function () {
                    let t = $(this).val();
                    t && !isNaN(t) ? (r.paper.width = Object(n.f)(t), r.context.printLine.refresh()) : Object(i.a)(`${window.i18n.pdfPrint.numberTip}`)
                });
                const o = $(`<div class="form-group" style="display: inline-block;margin-left: 6px"><span>${window.i18n.pdfPrint.height}</span></div>`);
                t.append(o), this.pageHeightEditor = $('<input type="number" class="form-control" readonly style="display: inline-block;width: 40px;font-size: 12px;padding: 1px;height: 28px">'), o.append(this.pageHeightEditor), this.pageHeightEditor.change(function () {
                    let t = $(this).val();
                    t && !isNaN(t) ? r.paper.height = Object(n.f)(t) : Object(i.a)(`${window.i18n.pdfPrint.numberTip}`)
                });
                const d = $(`<div class="form-group" style="display: inline-block;margin-left: 6px"><label>${window.i18n.pdfPrint.orientation}</label></div>`);
                t.append(d), this.orientationSelect = $(`<select class="form-control" style="display:inline-block;width: 60px;font-size: 12px;padding: 1px;height: 28px">\n            <option value="portrait">${window.i18n.pdfPrint.portrait}</option>\n            <option value="landscape">${window.i18n.pdfPrint.landscape}</option>\n        </select>`), d.append(this.orientationSelect), this.orientationSelect.change(function () {
                    let t = $(this).val();
                    r.paper.orientation = t
                });
                const l = $('<div style="display: inline-block"></div>');
                t.append(l);
                const c = $(`<div class="form-group" style="display: inline-block;margin-left:6px"><label>${window.i18n.pdfPrint.leftMargin}</label></div>`);
                l.append(c), this.leftMarginEditor = $('<input type="number" class="form-control" style="display: inline-block;width: 40px;font-size: 12px;padding: 1px;height: 28px">'), c.append(this.leftMarginEditor), this.leftMarginEditor.change(function () {
                    let t = $(this).val();
                    t && !isNaN(t) ? (r.paper.leftMargin = Object(n.f)(t), r.context.printLine.refresh()) : Object(i.a)(`${window.i18n.pdfPrint.numberTip}`)
                });
                const p = $(`<div class="form-group" style="display: inline-block;margin-top: 5px;margin-left: 6px""><label>${window.i18n.pdfPrint.rightMargin}</label></div>`);
                l.append(p), this.rightMarginEditor = $('<input type="number" class="form-control" style="display: inline-block;width: 40px;font-size: 12px;padding: 1px;height: 28px">'), p.append(this.rightMarginEditor), this.rightMarginEditor.change(function () {
                    let t = $(this).val();
                    t && !isNaN(t) ? (r.paper.rightMargin = Object(n.f)(t), r.context.printLine.refresh()) : Object(i.a)(`${window.i18n.pdfPrint.numberTip}`)
                });
                const s = $(`<div class="form-group" style="display: inline-block;margin-left: 6px;"><label>${window.i18n.pdfPrint.topMargin}</label></div>`);
                l.append(s), this.topMarginEditor = $('<input type="number" class="form-control" style="display: inline-block;width: 40px;font-size: 12px;padding: 1px;height: 28px">'), s.append(this.topMarginEditor), this.topMarginEditor.change(function () {
                    let t = $(this).val();
                    t && !isNaN(t) ? r.paper.topMargin = Object(n.f)(t) : Object(i.a)(`${window.i18n.pdfPrint.numberTip}`)
                });
                const f = $(`<div class="form-group" style="display: inline-block;margin-left: 6px""><label>${window.i18n.pdfPrint.bottomMargin}</label></div>`);
                l.append(f), this.bottomMarginEditor = $('<input type="number" class="form-control" style="display: inline-block;width: 40px;font-size: 12px;padding: 1px;height: 28px">'), f.append(this.bottomMarginEditor), this.bottomMarginEditor.change(function () {
                    let t = $(this).val();
                    t && !isNaN(t) ? r.paper.bottomMargin = Object(n.f)(t) : Object(i.a)(`${window.i18n.pdfPrint.numberTip}`)
                });
                Object(n.d)("_u");
                const u = window.location.search,
                    h = $(`<button class="btn btn-primary" style="padding-top:5px;height: 30px;margin-left: 10px;">${window.i18n.pdfPrint.apply}</button>`);
                t.append(h);
                let m = 0;
                h.click(function () {
                    Object(n.l)();
                    const t = JSON.stringify(r.paper);
                    $.ajax({
                        type: "POST",
                        data: {_paper: t},
                        url: window._server + "/pdf/newPaging" + u,
                        success: function () {
                            const t = window._server + "/pdf/show" + u + "&_r=" + m++;
                            r.iFrame.prop("src", t)
                        },
                        error: function () {
                            Object(n.e)(), Object(i.a)(`${window.i18n.pdfPrint.fail}`)
                        }
                    })
                });
                const b = $(`<button class="btn btn-danger" style="padding-top:5px;height: 30px;margin-left: 10px;">${window.i18n.pdfPrint.print}</button>`);
                t.append(b), b.click(function () {
                    window.frames._iframe_for_pdf_print.window.print()
                })
            }

            initIFrame() {
                if (this.iFrame) return;
                const t = buildLocationSearchParameters(), e = $(window).height(),
                    r = window._server + "/pdf/show" + t + "&_p=1";
                this.iFrame = $(`<iframe name="_iframe_for_pdf_print" style="width: 100%;height:${e}px;margin-top: 5px;border:solid 1px #c2c2c2" frameborder="0" src="${r}"></iframe>`), this.body.append(this.iFrame);
                this.iFrame.get(0);
                const i = window.navigator.appName.indexOf("Internet Explorer"),
                    a = !!window.MSInputMethodContext && !!document.documentMode;
                -1 !== i || a || Object(n.l)(), this.iFrame.on("load", function () {
                    Object(n.e)()
                })
            }

            show(t) {
                this.paper = t, this.pageSelect.val(this.paper.paperType), this.pageWidthEditor.val(Object(n.g)(this.paper.width)), this.pageHeightEditor.val(Object(n.g)(this.paper.height)), this.pageSelect.trigger("change"), this.leftMarginEditor.val(Object(n.g)(this.paper.leftMargin)), this.rightMarginEditor.val(Object(n.g)(this.paper.rightMargin)), this.topMarginEditor.val(Object(n.g)(this.paper.topMargin)), this.bottomMarginEditor.val(Object(n.g)(this.paper.bottomMargin)), this.orientationSelect.val(this.paper.orientation), this.dialog.modal("show"), this.initIFrame()
            }
        }
    }, 334: function (t) {
        t.exports = JSON.parse('{"pdfPrint":{"title":"PDF在线打印","setup":"打印配置","paper":"纸张:","custom":"自定义","width":"宽(毫米):","numberTip":"请输入数字！","height":"高(毫米):","orientation":"方向:","portrait":"纵向","landscape":"横向","leftMargin":"左边距(毫米):","rightMargin":"右边距(毫米):","topMargin":"上边距(毫米):","bottomMargin":"下边距(毫米):","apply":"应用","fail":"操作失败！","print":"打印"}}')
    }, 335: function (t) {
        t.exports = JSON.parse('{"pdfPrint":{"title":"pdf online print","setup":"Print Setup","paper":"Paper:","custom":"Custom","width":"Width(mm):","numberTip":"Please input a number","height":"Height(mm):","orientation":"Orientation:","portrait":"Portrait","landscape":"Landscape","leftMargin":"Left Margin(mm):","rightMargin":"Right Margin(mm):","topMargin":"Top Margin(mm):","bottomMargin":"Bottom Margin(mm):","apply":"Apply","fail":"Apply fail!","print":"Print"}}')
    }, 35: function (t, e, r) {
        var n;
        !function () {
            "use strict";
            var i = function () {
                var t, e, r = [], n = -1, i = 0, a = !1;
                return e = function (t, e) {
                    return t && "function" == typeof t[e] ? (a = !0, t[e](), a = !1, this) : this
                }, {
                    add: function (e) {
                        return a ? this : (r.splice(n + 1, r.length - n), r.push(e), i && r.length > i && (d = 0, l = -(i + 1), (o = r).splice(d, !l || 1 + l - d + (!(l < 0 ^ d >= 0) && (l < 0 || -1) * o.length)), o.length), n = r.length - 1, t && t(), this);
                        var o, d, l
                    }, setCallback: function (e) {
                        t = e
                    }, undo: function () {
                        var i = r[n];
                        return i ? (e(i, "undo"), n -= 1, t && t(), this) : this
                    }, redo: function () {
                        var i = r[n + 1];
                        return i ? (e(i, "redo"), n += 1, t && t(), this) : this
                    }, clear: function () {
                        var e = r.length;
                        r = [], n = -1, t && e > 0 && t()
                    }, hasUndo: function () {
                        return -1 !== n
                    }, hasRedo: function () {
                        return n < r.length - 1
                    }, getCommands: function () {
                        return r
                    }, getIndex: function () {
                        return n
                    }, setLimit: function (t) {
                        i = t
                    }
                }
            };
            void 0 === (n = function () {
                return i
            }.call(e, r, e, t)) || (t.exports = n)
        }()
    }, 567: function (module, __webpack_exports__, __webpack_require__) {
        "use strict";
        __webpack_require__.r(__webpack_exports__);
        var _form_external_bootstrap_datetimepicker_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(62),
            _form_external_bootstrap_datetimepicker_css__WEBPACK_IMPORTED_MODULE_0___default = __webpack_require__.n(_form_external_bootstrap_datetimepicker_css__WEBPACK_IMPORTED_MODULE_0__),
            _Utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(0),
            _MsgBox_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1),
            _dialog_PDFPrintDialog_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(333),
            _i18n_preview_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(334),
            _i18n_preview_json__WEBPACK_IMPORTED_MODULE_4___namespace = __webpack_require__.t(334, 1),
            _i18n_preview_en_json__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(335),
            _i18n_preview_en_json__WEBPACK_IMPORTED_MODULE_5___namespace = __webpack_require__.t(335, 1);

        function buildPrintStyle(t) {
            const e = Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.g)(t.leftMargin),
                r = Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.g)(t.topMargin),
                n = Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.g)(t.rightMargin),
                i = Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.g)(t.bottomMargin), a = t.paperType;
            let o = a;
            return "CUSTOM" === a && (o = Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.g)(t.width) + "mm " + Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.g)(t.height) + "mm"), `\n        @media print {\n            .page-break{\n                display: block;\n                page-break-before: always;\n            }\n        }\n        @page {\n          size: ${o} ${t.orientation};\n          margin-left: ${e}mm;\n          margin-top: ${r}mm;\n          margin-right:${n}mm;\n          margin-bottom:${i}mm;\n        }\n    `
        }

        function _refreshData(t) {
            const e = buildLocationSearchParameters("_i");
            let r = window._server + `/html/loadData${e}`;
            const n = window._totalPage;
            n > 0 && (window._currentPageIndex && (window._currentPageIndex > n && (window._currentPageIndex = 1), r += "&_i=" + window._currentPageIndex), $("#pageSelector").val(window._currentPageIndex)), $.ajax({
                url: r,
                type: "GET",
                success: function (e) {
                    const r = $("#_ureport_table");
                    r.empty(), window._totalPage = e.totalPageWithCol, r.append(e.content), _buildChartDatas(e.chartDatas), buildPaging(window._currentPageIndex, window._totalPage), window._currentPageIndex && window._currentPageIndex++, setTimeout(function () {
                        _refreshData(t)
                    }, t)
                },
                error: function (e) {
                    const r = $("#_ureport_table");
                    r.empty(), e && e.responseText ? r.append("<h3 style='color: #d30e00;'>服务端错误：" + e.responseText + "</h3>") : r.append("<h3 style='color: #d30e00;'>加载数据失败</h3>"), setTimeout(function () {
                        _refreshData(t)
                    }, t)
                }
            })
        }

        jQuery.fn.datetimepicker.dates["zh-CN"] = {
            days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"],
            daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"],
            daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"],
            months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
            monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
            today: "今天",
            suffix: [],
            meridiem: ["上午", "下午"]
        }, $(document).ready(function () {
            let t = window.navigator.language || window.navigator.browserLanguage;
            t || (t = "zh-cn"), t = t.toLowerCase(), window.i18n = _i18n_preview_json__WEBPACK_IMPORTED_MODULE_4__, "zh-cn" !== t && (window.i18n = _i18n_preview_en_json__WEBPACK_IMPORTED_MODULE_5__), $(".ureport-print").click(function () {
                const t = buildLocationSearchParameters(), e = window._server + "/html/loadPrintPages" + t;
                Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.l)(), $.ajax({
                    url: e,
                    type: "POST",
                    success: function (e) {
                        $.get(window._server + "/html/loadPagePaper" + t, function (t) {
                            Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.e)();
                            const r = e.html, n = window.frames._print_frame;
                            let i = '<style type="text/css">';
                            i += buildPrintStyle(t), i += $("#_ureport_table_style").html(), i += "</style>", $(n.document.body).html(i + r), n.window.focus(), n.window.print()
                        })
                    },
                    error: function (t) {
                        Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.e)(), t && t.responseText ? Object(_MsgBox_js__WEBPACK_IMPORTED_MODULE_2__.a)("服务端错误：" + t.responseText) : Object(_MsgBox_js__WEBPACK_IMPORTED_MODULE_2__.a)("服务端出错！")
                    }
                })
            });
            let e = !1, r = 0;
            const n = new _dialog_PDFPrintDialog_js__WEBPACK_IMPORTED_MODULE_3__.a;
            $(".ureport-pdf-print").click(function () {
                const t = buildLocationSearchParameters();
                $.get(window._server + "/html/loadPagePaper" + t, function (t) {
                    n.show(t)
                })
            }), $(".ureport-pdf-direct-print").click(function () {
                Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.l)();
                const t = buildLocationSearchParameters(), n = window._server + "/pdf/show" + t + `&_i=${r++}`,
                    i = window.frames._print_pdf_frame;
                e || (e = !0, $("iframe[name='_print_pdf_frame']").on("load", function () {
                    Object(_Utils_js__WEBPACK_IMPORTED_MODULE_1__.e)(), i.window.focus(), i.window.print()
                })), i.window.focus(), i.location.href = n
            }), $(".ureport-export-pdf").click(function () {
                const t = buildLocationSearchParameters(), e = window._server + "/pdf" + t;
                window.open(e, "_blank")
            }), $(".ureport-export-word").click(function () {
                const t = buildLocationSearchParameters(), e = window._server + "/word" + t;
                window.open(e, "_blank")
            }), $(".ureport-export-excel").click(function () {
                const t = buildLocationSearchParameters(), e = window._server + "/excel" + t;
                window.open(e, "_blank")
            }), $(".ureport-export-excel-paging").click(function () {
                const t = buildLocationSearchParameters(), e = window._server + "/excel/paging" + t;
                window.open(e, "_blank")
            }), $(".ureport-export-excel-paging-sheet").click(function () {
                const t = buildLocationSearchParameters(), e = window._server + "/excel/sheet" + t;
                window.open(e, "_blank")
            })
        }), window._currentPageIndex = null, window._totalPage = null, window.buildLocationSearchParameters = function (t) {
            let e = window.location.search;
            e.length > 0 && (e = e.substring(1, e.length));
            let r = {};
            const n = e.split("&");
            for (let e = 0; e < n.length; e++) {
                const i = n[e];
                if ("" === i) continue;
                const a = i.split("=");
                let o = a[0];
                if (t && o === t) continue;
                let d = a[1];
                r[o] = d
            }
            if (window.searchFormParameters) for (let e in window.searchFormParameters) {
                if (e === t) continue;
                const n = window.searchFormParameters[e];
                n && (r[e] = n)
            }
            let i = "?";
            for (let t in r) i += "?" === i ? t + "=" + r[t] : "&" + t + "=" + r[t];
            return i
        }, window.buildPaging = function (t, e) {
            if (0 === e) return;
            if (!t) return;
            window._currentPageIndex || (window._currentPageIndex = t), t = window._currentPageIndex, window._totalPage || (window._totalPage = e);
            const r = $("#pageSelector");
            if (r.change(function () {
                const t = window.buildLocationSearchParameters("_i");
                let e = window._server + `/preview${t}&_i=${$(this).val()}`;
                window.open(e, "_self")
            }), r.val(t), 1 === e) return;
            const n = window.buildLocationSearchParameters("_i"), i = $("#pageLinkContainer");
            if (i.empty(), t > 1) {
                let e = window._server + `/preview${n}&_i=${t - 1}`;
                const r = $('<button type="button" class="btn btn-link btn-sm">上一页</button>');
                i.append(r), r.click(function () {
                    window.open(e, "_self")
                })
            }
            if (t < e) {
                let e = window._server + `/preview${n}&_i=${t + 1}`;
                const r = $('<button type="button" class="btn btn-link btn-sm">下一页</button>');
                i.append(r), r.click(function () {
                    window.open(e, "_self")
                })
            }
        }, window._intervalRefresh = function (t, e) {
            if (!t) return;
            window._totalPage = e;
            const r = 1e3 * t;
            setTimeout(function () {
                _refreshData(r)
            }, r)
        }, window._buildChartDatas = function (chartData) {
            if (chartData) for (let d of chartData) {
                let json = d.json;
                json = JSON.parse(json, function (k, v) {
                    return v.indexOf && v.indexOf("function") > -1 ? eval("(function(){return " + v + " })()") : v
                }), _buildChart(d.id, json)
            }
        }, window._buildChart = function (t, e) {
            const r = document.getElementById(t);
            if (!r) return;
            let n = e.options;
            n || (n = {}, e.options = n);
            let i = n.animation;
            i || (i = {}, n.animation = i), i.onComplete = function (e) {
                const r = e.chart.toBase64Image(), n = window.location.search,
                    i = window._server + "/chart/storeData" + n, a = $("#" + t), o = parseInt(a.css("width")),
                    d = parseInt(a.css("height"));
                $.ajax({type: "POST", data: {_base64Data: r, _chartId: t, _width: o, _height: d}, url: i})
            };
            new Chart(r, e)
        }, window.submitSearchForm = function (t, e) {
            window.searchFormParameters = {};
            for (let t of window.formElements) {
                const e = t.call(this);
                for (let t in e) {
                    let r = e[t];
                    r = encodeURI(r), r = encodeURI(r), window.searchFormParameters[t] = r
                }
            }
            const r = window.buildLocationSearchParameters("_i");
            let n = window._server + "/html/loadData" + r;
            const i = $("#pageSelector");
            i.length > 0 && (n += "&_i=1"), $.ajax({
                url: n, type: "POST", success: function (t) {
                    window._currentPageIndex = 1;
                    const e = $("#_ureport_table");
                    e.empty(), e.append(t.content), _buildChartDatas(t.chartDatas);
                    const r = t.totalPage;
                    if (window._totalPage = r, i.length > 0) {
                        i.empty();
                        for (let t = 1; t <= r; t++) i.append(`<option>${t}</option>`);
                        const e = t.pageIndex || 1;
                        i.val(e), $("#totalPageLabel").html(r), buildPaging(e, r)
                    }
                }, error: function (t) {
                    t && t.responseText ? Object(_MsgBox_js__WEBPACK_IMPORTED_MODULE_2__.a)("服务端错误：" + t.responseText) : Object(_MsgBox_js__WEBPACK_IMPORTED_MODULE_2__.a)("查询操作失败！")
                }
            })
        }
    }, 62: function (t, e, r) {
        var n = r(63);
        "string" == typeof n && (n = [[t.i, n, ""]]);
        r(13)(n, {});
        n.locals && (t.exports = n.locals)
    }, 63: function (t, e, r) {
        (t.exports = r(12)(!1)).push([t.i, "/*!\r\n * Datetimepicker for Bootstrap\r\n *\r\n * Copyright 2012 Stefan Petre\r\n * Improvements by Andrew Rowls\r\n * Licensed under the Apache License v2.0\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n */\r\n.datetimepicker {\r\n\tpadding: 4px;\r\n\tmargin-top: 1px;\r\n\t-webkit-border-radius: 4px;\r\n\t-moz-border-radius: 4px;\r\n\tborder-radius: 4px;\r\n\tdirection: ltr;\r\n}\r\n\r\n.datetimepicker-inline {\r\n\twidth: 220px;\r\n}\r\n\r\n.datetimepicker.datetimepicker-rtl {\r\n\tdirection: rtl;\r\n}\r\n\r\n.datetimepicker.datetimepicker-rtl table tr td span {\r\n\tfloat: right;\r\n}\r\n\r\n.datetimepicker-dropdown, .datetimepicker-dropdown-left {\r\n\ttop: 0;\r\n\tleft: 0;\r\n}\r\n\r\n[class*=\" datetimepicker-dropdown\"]:before {\r\n\tcontent: '';\r\n\tdisplay: inline-block;\r\n\tborder-left: 7px solid transparent;\r\n\tborder-right: 7px solid transparent;\r\n\tborder-bottom: 7px solid #cccccc;\r\n\tborder-bottom-color: rgba(0, 0, 0, 0.2);\r\n\tposition: absolute;\r\n}\r\n\r\n[class*=\" datetimepicker-dropdown\"]:after {\r\n\tcontent: '';\r\n\tdisplay: inline-block;\r\n\tborder-left: 6px solid transparent;\r\n\tborder-right: 6px solid transparent;\r\n\tborder-bottom: 6px solid #ffffff;\r\n\tposition: absolute;\r\n}\r\n\r\n[class*=\" datetimepicker-dropdown-top\"]:before {\r\n\tcontent: '';\r\n\tdisplay: inline-block;\r\n\tborder-left: 7px solid transparent;\r\n\tborder-right: 7px solid transparent;\r\n\tborder-top: 7px solid #cccccc;\r\n\tborder-top-color: rgba(0, 0, 0, 0.2);\r\n\tborder-bottom: 0;\r\n}\r\n\r\n[class*=\" datetimepicker-dropdown-top\"]:after {\r\n\tcontent: '';\r\n\tdisplay: inline-block;\r\n\tborder-left: 6px solid transparent;\r\n\tborder-right: 6px solid transparent;\r\n\tborder-top: 6px solid #ffffff;\r\n\tborder-bottom: 0;\r\n}\r\n\r\n.datetimepicker-dropdown-bottom-left:before {\r\n\ttop: -7px;\r\n\tright: 6px;\r\n}\r\n\r\n.datetimepicker-dropdown-bottom-left:after {\r\n\ttop: -6px;\r\n\tright: 7px;\r\n}\r\n\r\n.datetimepicker-dropdown-bottom-right:before {\r\n\ttop: -7px;\r\n\tleft: 6px;\r\n}\r\n\r\n.datetimepicker-dropdown-bottom-right:after {\r\n\ttop: -6px;\r\n\tleft: 7px;\r\n}\r\n\r\n.datetimepicker-dropdown-top-left:before {\r\n\tbottom: -7px;\r\n\tright: 6px;\r\n}\r\n\r\n.datetimepicker-dropdown-top-left:after {\r\n\tbottom: -6px;\r\n\tright: 7px;\r\n}\r\n\r\n.datetimepicker-dropdown-top-right:before {\r\n\tbottom: -7px;\r\n\tleft: 6px;\r\n}\r\n\r\n.datetimepicker-dropdown-top-right:after {\r\n\tbottom: -6px;\r\n\tleft: 7px;\r\n}\r\n\r\n.datetimepicker > div {\r\n\tdisplay: none;\r\n}\r\n\r\n.datetimepicker.minutes div.datetimepicker-minutes {\r\n\tdisplay: block;\r\n}\r\n\r\n.datetimepicker.hours div.datetimepicker-hours {\r\n\tdisplay: block;\r\n}\r\n\r\n.datetimepicker.days div.datetimepicker-days {\r\n\tdisplay: block;\r\n}\r\n\r\n.datetimepicker.months div.datetimepicker-months {\r\n\tdisplay: block;\r\n}\r\n\r\n.datetimepicker.years div.datetimepicker-years {\r\n\tdisplay: block;\r\n}\r\n\r\n.datetimepicker table {\r\n\tmargin: 0;\r\n}\r\n\r\n.datetimepicker  td,\r\n.datetimepicker th {\r\n\ttext-align: center;\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\t-webkit-border-radius: 4px;\r\n\t-moz-border-radius: 4px;\r\n\tborder-radius: 4px;\r\n\tborder: none;\r\n}\r\n\r\n.table-striped .datetimepicker table tr td,\r\n.table-striped .datetimepicker table tr th {\r\n\tbackground-color: transparent;\r\n}\r\n\r\n.datetimepicker table tr td.minute:hover {\r\n\tbackground: #eeeeee;\r\n\tcursor: pointer;\r\n}\r\n\r\n.datetimepicker table tr td.hour:hover {\r\n\tbackground: #eeeeee;\r\n\tcursor: pointer;\r\n}\r\n\r\n.datetimepicker table tr td.day:hover {\r\n\tbackground: #eeeeee;\r\n\tcursor: pointer;\r\n}\r\n\r\n.datetimepicker table tr td.old,\r\n.datetimepicker table tr td.new {\r\n\tcolor: #999999;\r\n}\r\n\r\n.datetimepicker table tr td.disabled,\r\n.datetimepicker table tr td.disabled:hover {\r\n\tbackground: none;\r\n\tcolor: #999999;\r\n\tcursor: default;\r\n}\r\n\r\n.datetimepicker table tr td.today,\r\n.datetimepicker table tr td.today:hover,\r\n.datetimepicker table tr td.today.disabled,\r\n.datetimepicker table tr td.today.disabled:hover {\r\n\tbackground-color: #fde19a;\r\n\tbackground-image: -moz-linear-gradient(top, #fdd49a, #fdf59a);\r\n\tbackground-image: -ms-linear-gradient(top, #fdd49a, #fdf59a);\r\n\tbackground-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));\r\n\tbackground-image: -webkit-linear-gradient(top, #fdd49a, #fdf59a);\r\n\tbackground-image: -o-linear-gradient(top, #fdd49a, #fdf59a);\r\n\tbackground-image: linear-gradient(to bottom, #fdd49a, #fdf59a);\r\n\tbackground-repeat: repeat-x;\r\n\tfilter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);\r\n\tborder-color: #fdf59a #fdf59a #fbed50;\r\n\tborder-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\r\n\tfilter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\r\n}\r\n\r\n.datetimepicker table tr td.today:hover,\r\n.datetimepicker table tr td.today:hover:hover,\r\n.datetimepicker table tr td.today.disabled:hover,\r\n.datetimepicker table tr td.today.disabled:hover:hover,\r\n.datetimepicker table tr td.today:active,\r\n.datetimepicker table tr td.today:hover:active,\r\n.datetimepicker table tr td.today.disabled:active,\r\n.datetimepicker table tr td.today.disabled:hover:active,\r\n.datetimepicker table tr td.today.active,\r\n.datetimepicker table tr td.today:hover.active,\r\n.datetimepicker table tr td.today.disabled.active,\r\n.datetimepicker table tr td.today.disabled:hover.active,\r\n.datetimepicker table tr td.today.disabled,\r\n.datetimepicker table tr td.today:hover.disabled,\r\n.datetimepicker table tr td.today.disabled.disabled,\r\n.datetimepicker table tr td.today.disabled:hover.disabled,\r\n.datetimepicker table tr td.today[disabled],\r\n.datetimepicker table tr td.today:hover[disabled],\r\n.datetimepicker table tr td.today.disabled[disabled],\r\n.datetimepicker table tr td.today.disabled:hover[disabled] {\r\n\tbackground-color: #fdf59a;\r\n}\r\n\r\n.datetimepicker table tr td.today:active,\r\n.datetimepicker table tr td.today:hover:active,\r\n.datetimepicker table tr td.today.disabled:active,\r\n.datetimepicker table tr td.today.disabled:hover:active,\r\n.datetimepicker table tr td.today.active,\r\n.datetimepicker table tr td.today:hover.active,\r\n.datetimepicker table tr td.today.disabled.active,\r\n.datetimepicker table tr td.today.disabled:hover.active {\r\n\tbackground-color: #fbf069;\r\n}\r\n\r\n.datetimepicker table tr td.active,\r\n.datetimepicker table tr td.active:hover,\r\n.datetimepicker table tr td.active.disabled,\r\n.datetimepicker table tr td.active.disabled:hover {\r\n\tbackground-color: #006dcc;\r\n\tbackground-image: -moz-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: -ms-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));\r\n\tbackground-image: -webkit-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: -o-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: linear-gradient(to bottom, #0088cc, #0044cc);\r\n\tbackground-repeat: repeat-x;\r\n\tfilter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);\r\n\tborder-color: #0044cc #0044cc #002a80;\r\n\tborder-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\r\n\tfilter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\r\n\tcolor: #ffffff;\r\n\ttext-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n\r\n.datetimepicker table tr td.active:hover,\r\n.datetimepicker table tr td.active:hover:hover,\r\n.datetimepicker table tr td.active.disabled:hover,\r\n.datetimepicker table tr td.active.disabled:hover:hover,\r\n.datetimepicker table tr td.active:active,\r\n.datetimepicker table tr td.active:hover:active,\r\n.datetimepicker table tr td.active.disabled:active,\r\n.datetimepicker table tr td.active.disabled:hover:active,\r\n.datetimepicker table tr td.active.active,\r\n.datetimepicker table tr td.active:hover.active,\r\n.datetimepicker table tr td.active.disabled.active,\r\n.datetimepicker table tr td.active.disabled:hover.active,\r\n.datetimepicker table tr td.active.disabled,\r\n.datetimepicker table tr td.active:hover.disabled,\r\n.datetimepicker table tr td.active.disabled.disabled,\r\n.datetimepicker table tr td.active.disabled:hover.disabled,\r\n.datetimepicker table tr td.active[disabled],\r\n.datetimepicker table tr td.active:hover[disabled],\r\n.datetimepicker table tr td.active.disabled[disabled],\r\n.datetimepicker table tr td.active.disabled:hover[disabled] {\r\n\tbackground-color: #0044cc;\r\n}\r\n\r\n.datetimepicker table tr td.active:active,\r\n.datetimepicker table tr td.active:hover:active,\r\n.datetimepicker table tr td.active.disabled:active,\r\n.datetimepicker table tr td.active.disabled:hover:active,\r\n.datetimepicker table tr td.active.active,\r\n.datetimepicker table tr td.active:hover.active,\r\n.datetimepicker table tr td.active.disabled.active,\r\n.datetimepicker table tr td.active.disabled:hover.active {\r\n\tbackground-color: #003399;\r\n}\r\n\r\n.datetimepicker table tr td span {\r\n\tdisplay: block;\r\n\twidth: 23%;\r\n\theight: 54px;\r\n\tline-height: 54px;\r\n\tfloat: left;\r\n\tmargin: 1%;\r\n\tcursor: pointer;\r\n\t-webkit-border-radius: 4px;\r\n\t-moz-border-radius: 4px;\r\n\tborder-radius: 4px;\r\n}\r\n\r\n.datetimepicker .datetimepicker-hours span {\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n}\r\n\r\n.datetimepicker .datetimepicker-hours table tr td span.hour_am,\r\n.datetimepicker .datetimepicker-hours table tr td span.hour_pm {\r\n\twidth: 14.6%;\r\n}\r\n\r\n.datetimepicker .datetimepicker-hours fieldset legend,\r\n.datetimepicker .datetimepicker-minutes fieldset legend {\r\n\tmargin-bottom: inherit;\r\n\tline-height: 30px;\r\n}\r\n\r\n.datetimepicker .datetimepicker-minutes span {\r\n\theight: 26px;\r\n\tline-height: 26px;\r\n}\r\n\r\n.datetimepicker table tr td span:hover {\r\n\tbackground: #eeeeee;\r\n}\r\n\r\n.datetimepicker table tr td span.disabled,\r\n.datetimepicker table tr td span.disabled:hover {\r\n\tbackground: none;\r\n\tcolor: #999999;\r\n\tcursor: default;\r\n}\r\n\r\n.datetimepicker table tr td span.active,\r\n.datetimepicker table tr td span.active:hover,\r\n.datetimepicker table tr td span.active.disabled,\r\n.datetimepicker table tr td span.active.disabled:hover {\r\n\tbackground-color: #006dcc;\r\n\tbackground-image: -moz-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: -ms-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));\r\n\tbackground-image: -webkit-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: -o-linear-gradient(top, #0088cc, #0044cc);\r\n\tbackground-image: linear-gradient(to bottom, #0088cc, #0044cc);\r\n\tbackground-repeat: repeat-x;\r\n\tfilter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);\r\n\tborder-color: #0044cc #0044cc #002a80;\r\n\tborder-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);\r\n\tfilter: progid:DXImageTransform.Microsoft.gradient(enabled=false);\r\n\tcolor: #ffffff;\r\n\ttext-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);\r\n}\r\n\r\n.datetimepicker table tr td span.active:hover,\r\n.datetimepicker table tr td span.active:hover:hover,\r\n.datetimepicker table tr td span.active.disabled:hover,\r\n.datetimepicker table tr td span.active.disabled:hover:hover,\r\n.datetimepicker table tr td span.active:active,\r\n.datetimepicker table tr td span.active:hover:active,\r\n.datetimepicker table tr td span.active.disabled:active,\r\n.datetimepicker table tr td span.active.disabled:hover:active,\r\n.datetimepicker table tr td span.active.active,\r\n.datetimepicker table tr td span.active:hover.active,\r\n.datetimepicker table tr td span.active.disabled.active,\r\n.datetimepicker table tr td span.active.disabled:hover.active,\r\n.datetimepicker table tr td span.active.disabled,\r\n.datetimepicker table tr td span.active:hover.disabled,\r\n.datetimepicker table tr td span.active.disabled.disabled,\r\n.datetimepicker table tr td span.active.disabled:hover.disabled,\r\n.datetimepicker table tr td span.active[disabled],\r\n.datetimepicker table tr td span.active:hover[disabled],\r\n.datetimepicker table tr td span.active.disabled[disabled],\r\n.datetimepicker table tr td span.active.disabled:hover[disabled] {\r\n\tbackground-color: #0044cc;\r\n}\r\n\r\n.datetimepicker table tr td span.active:active,\r\n.datetimepicker table tr td span.active:hover:active,\r\n.datetimepicker table tr td span.active.disabled:active,\r\n.datetimepicker table tr td span.active.disabled:hover:active,\r\n.datetimepicker table tr td span.active.active,\r\n.datetimepicker table tr td span.active:hover.active,\r\n.datetimepicker table tr td span.active.disabled.active,\r\n.datetimepicker table tr td span.active.disabled:hover.active {\r\n\tbackground-color: #003399;\r\n}\r\n\r\n.datetimepicker table tr td span.old {\r\n\tcolor: #999999;\r\n}\r\n\r\n.datetimepicker th.switch {\r\n\twidth: 145px;\r\n}\r\n\r\n.datetimepicker th span.glyphicon {\r\n\tpointer-events: none;\r\n}\r\n\r\n.datetimepicker thead tr:first-child th,\r\n.datetimepicker tfoot th {\r\n\tcursor: pointer;\r\n}\r\n\r\n.datetimepicker thead tr:first-child th:hover,\r\n.datetimepicker tfoot th:hover {\r\n\tbackground: #eeeeee;\r\n}\r\n\r\n.input-append.date .add-on i,\r\n.input-prepend.date .add-on i,\r\n.input-group.date .input-group-addon span {\r\n\tcursor: pointer;\r\n\twidth: 14px;\r\n\theight: 14px;\r\n}\r\n", ""])
    }
});